<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" isELIgnored="false">
<head>
    <meta charset="UTF-8">
    <title>欢迎页面</title>
        <style type ="text/css">
                              body {
                                  margin: 0;
                                  padding: 0;
                                  background: #bfd660;
                                  color: #d9d9d9;
                              }
        .loginbg {
            width: 30%;
            background: #66654a;
            margin: 20px 0 0px 0;
            border-radius: 30px 30px 30px 30px;
            /*background-image: url("http://img.netbian.com/file/2022/0223/010035r3aFr.jpg");*/
            /*opacity:0.1;*/
        }

        .blue {
            color: #17A1FF;
            font-size: 18px;
            line-height: 50px;

        }
        .user {
            width: 50%;
            height: 30px;
            border-width: 1px;
            border-radius: 20px 20px 20px 20px;
            margin: 5px 0 20px 5px;
            color: #007DDB;

            /*border: rgba(255,255,255,0.2) 2px solid !important;*/
            /*background-color:transparent*/
            background-color: #d9d9d9;
        }

        .login {
            text-align: center;
            font-size: 20px;
            line-height: 50px;
            width: 50%;
            height: 50px;
            border-radius: 10px 10px 10px 10px;
            margin: 15px 0 20px 55px;
            background-color: #007DDB;
            color: #FFFFFF;
        }

        .pic {
            margin: 10px auto;
            margin: 150px 0 0px 0;
        }

        img {
            /*border-radius: 20px;*/

            border-radius: 50%
        }

    </style>
</head>
<body>
<div align="center">
    <div class="pic">
        <img src="../images/11.jpeg" width="100" height="100" alt="头像">
    </div>
    <div class="loginbg">
        <p class="blue">用户登录</p>
        <p style="color: red" th:text="${session.msg}"></p>
<form role="form" action = "userLogin" method="post" style="align-items: center">
    账号：<input class="user" type="text" id="user_name" name = "user_name"> <br>
    密码：<input class="user" type="text" id = "user_password" name = "user_password"> <br>
    <input type="submit" class="login" id = "u_login" value = "登录">
</form>
        <a href="/login" style="text-decoration: none">管理员登录</a><br><br>
        <a href="/u_register" style="text-decoration: none">还没有用户账号？请注册一个吧！</a>
    </div>

</div>
</body>
</html>
